
/**
 *     base
 */
* { 
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: "Meiryo", sans-serif;
    font-size: 13px;
    line-height: 1.5em;
    background: white;
}


h1 a, h2 a, h3 a {
    text-decoration: none;
}

h1 {
    line-height: 1em;
}

h2 {
    line-height: 1em;
    padding: 4px;
    border-left: solid 0.5em black;
    border-bottom: solid 1px black;
}

h3 {
    line-height: 1em;
    
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding: 4px;
    border-bottom: solid 2px black;
}


/**
 *     header
 */
#header {
    color: white;
    
    padding: 1em;
    background: blue;
    background: -webkit-linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
    background: -moz-linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
    background: -o-linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
    background: -ms-linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
    background: linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
}

#header, #main, #footer {
    margin: 0px auto;
    width: 900px;
}



/**
 *     main
 */
#main {
    display: -webkit-box;
    border-left: solid 1px silver;
    border-right: solid 1px silver;
}

/**
 *     sidebar
 */
#sidebar {
    width: 250px;
    padding: 5px;
}

#sidebar #file-list {
    display: block;
    border-radius: 4px;
    width: 200px;
}

/**
 *     content
 */
#content {
    width: 650px;
    padding: 5px;
}

#content #main-ta {
    display: block;
    width: 640px;
    margin: 0px auto;
    border: solid 2px black;
    border-radius: 2px;
}

#file-header-list {
    display: -webkit-box;
    display: -moz-box;
    display: box;
}

#file-header-list .file-header {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    
    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px; 
    
    background-color: white;
    border: solid 1px black;
    border-bottom:0px;
    
    width: 100px;
    margin-left: 4px;
    padding: 4px;
    
    cursor: pointer;
}

#file-header-list .file-header:first-child {
    color: white;
    background-color: black;
}

#file-header-list .file-name .close {
    font-weight: bold;
    border: solid 1px white;
}

#footer {
    text-align: center;
    color: white;
    
    padding: 1em;
    background: blue;
    background: -webkit-linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
    background: -moz-linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
    background: -o-linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
    background: -ms-linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
    background: linear-gradient(top, #3c669c 0%, #1375ca 50%, #1f7bca 51%, #82bcea 100%);
}

#footer a {
    color: white;
}
